package com.koron.order.risk.base.bean.query;

import com.koron.order.risk.base.bean.po.LineRisk;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * @author jzp
 * @since 2022/12/15
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LineRiskQuery extends LineRisk {

    @ApiModelProperty("状态集合")
    private List<String> statusList;

    @ApiModelProperty("id集合")
    private List<String> ids;

    @ApiModelProperty(value = "关键字搜索(编码及标题)")
    private String keyWord;

    @ApiModelProperty("跟进部门集合")
    private List<String> followDeptIds;

    @ApiModelProperty("巡视工单id集合")
    private List<String> patrolIds;


    // ---------------以下是管控措施的查询条件-------------------
    /**
     * 管控措施 risk_control_measures
     */
    @ApiModelProperty("管控措施 risk_control_measures")
    private String controlMeasures;

    @ApiModelProperty("责任人id")
    private String leaderId;

    @ApiModelProperty("责任人名称")
    private String leaderName;

    @ApiModelProperty("是否存在看护值守工单")
    private Integer existDuty;

    @ApiModelProperty("创建时间月份")
    private Date createDate;
    // -----------------------------------------------------

}
